package com.hunan.chinamobile.configurer;

import org.springframework.context.annotation.Configuration;

/**
 * Created by zealdin on 2017/8/28.
 */
@Configuration
public class MongoConfiguration {

//    static class OptionsConfig {
//
//        @Bean
//        public MongoClientOptions mongoOptions() {
//            return MongoClientOptions.builder()
//                    .socketTimeout(20000)
//                    .connectTimeout(60000)
//                    .maxConnectionIdleTime(60000)
//                    .build();
//        }
//
//    }
}
